
<div class="pageContent">
	<form method="post" action="<?=site_url('manage/user/roles/add')?>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>上级角色：</label>
				<select name="role_parent" class="required combox">
					<option value="0">请选择</option>
					<?php foreach ($roles as $role):?>
					<option value="<?=$role->id?>"><?=$role->name?></option>
					<?php endforeach;?>
				</select>
				<span class="unit"> </span>
			</p>
			<p>
				<label>角色名称：</label>
				<input name="role_name" class="required" type="text" size="30" value="" alt="请输入客户名称"/>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>